#require 'datamapper'
class Movie
  include DataMapper::Resource
  
  property :id,      Serial
  property :rank,    Integer       
  property :raiting, Float
  property :text,    Text
  property :seen_by, Integer
  property :url,     String,        :length => 500
  property :uid,     String,        :length => 500

  property :name,    String,        :length => 500
  property :release, String

  property :icon,    String
  property :owner,   String,        :length => 500
  property :gerne,   String,        :length => 500
  property :kind,    String,        :length => 500
  property :own,     Boolean       
  property :seen,    Boolean
  timestamps :at 

  def get_headers()
    return properties
  end
  
end

